= render "projects/issues_nav"

.row
  .col-md-3.responsive-side
    = render 'shared/project_filter', project_entities_path: project_merge_requests_path(@project),
             labels: true, redirect: 'merge_requests', entity: 'merge_request'
  .col-md-9
    .append-bottom-10
      = render 'projects/issuable_filter'
    .panel.panel-default
      %ul.well-list.mr-list
        = render @merge_requests
        - if @merge_requests.blank?
          %li
            .nothing-here-block No merge requests to show
    - if @merge_requests.present?
      .pull-right
        %span.cgray.pull-right #{@merge_requests.total_count} merge requests for this filter

      = paginate @merge_requests, theme: "gitlab"

:javascript
  $(merge_requestsPage);
